﻿@model CanDichVu.Db.ThanhVien

@if (Request.IsAuthenticated)
{   

    <!-- account -->
    <li class="navTab account Popup PopupControl  PopupContainerControl PopupOpen">

        <a href="/Account/ChangeInfo" class="navLink accountPopup" rel="Menu"><p>
            <img src="/Content/images/user_profile.png" class="user_icon_details" alt="">
            @Model.UserName</p><span class="arrowWidget"></span></a>
    </li>
	
    <!-- conversations popup -->
    <li class="navTab inbox Popup PopupControl PopupClosed PopupContainerControl">

        <a href="/Account/InboxMember" rel="Menu" class="navLink NoPopupGadget">
            <img src="/Content/images/user_messenger.png" class="user_icon_details" alt="">
            Hộp thư
        </a>
    </li>
    
    <!-- alerts popup -->
    <li class="navTab alerts Popup PopupControl PopupClosed PopupContainerControl">

        <a href="/Account/MessageMember" rel="Menu" class="navLink NoPopupGadget">
            <img src="/Content/images/user_alerts.png" class="user_icon_details" alt="">
            Thông báo						
        </a>

    </li>

    <li class="navTab PopupClosed"><a href="@Url.Action("LogOff", "Account", new { ReturlUrl = Request.RawUrl })" class="LogOut navLink visitorTabItem OverlayTrigger">
        <img src="/Content/images/user_logout.png" class="user_icon_details" alt="">
        Thoát</a></li>
}
else
{
    <li><a href="/dang-ky-thanh-vien/" class="simple_tip">Đăng ký thành viên</a></li>
    <li><a href="/dang-nhap-thanh-vien" class="simple_tip">Đăng nhập</a></li>
}
